<input type="password" id="passwd" style="zoom:0.5;">

<script>
    // This verifies the eye icon scales correctly with different zoom level. (zoom: 0.5x)
    document.getElementById("passwd").focus();
    eventSender.keyDown('a');
</script>